const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  realName: state => state.user.realName,
  username: state => state.user.username,
  userId: state => state.user.userId,
  caseType: state => state.user.dictConfig.caseType,
  elementType: state => state.user.dictConfig.elementType,
  keyword: state => state.user.dictConfig.keyword,
  locationBy: state => state.user.dictConfig.locationBy,
  stepControl: state => state.user.dictConfig.stepControl,
  stepType: state => state.user.dictConfig.stepType,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  permission_routes: state => state.permission.routes
}
export default getters
